<div id="item_title">車輌情報</div>
<table border="1" cellspacing=0 id="order_info">
  <tr>
    <th>標識番号 </th>
    <td><%= @order.recipe_name%></td>
    <th>サイズ </th>
    <td><%= @order.car_size%></td>
  </tr>
  <tr>
    <th>車種 </th>
    <td><%= @order.car_type%></td>
    <th>塗装種類 </th>
    <td><%= @order.paint_type%></td>
  </tr>
  <tr>
  	<th>修正機</th>
	<% if @order.use_amend_set%>
		<td id="use_amend_set">使用<td>
	<%else%>
		<td id="use_amend_set">使用しない<td>
	<%end%>
  </tr>
</table>
<div id="item_title">損傷情報</div>

	 	<table class="car_info" cellspacing=0 border=1>
  		<tr>
    		<th class="title_in_car">衝撃角度</th>
			<th class="title_in_car">部位</th>
			<th class="title_in_car">作業</th>
  		</tr>
 		 <tr>
    		<td class="no_bottom_line">
    			<%= session[:order_item].inside_position.direction_side%>
			</td>
			<td class="no_bottom_line">
    			<%= session[:order_item].inside_position.part%>
			</td>
			<%if session[:order_item].work_judge == "修正機set_修正から" || session[:order_item].work_judge == "修正から"%>
			<td class="no_bottom_line" id="work">
    			修正
			</td>
			<%else%>
			<td class="no_bottom_line" id="work">
    			取替
			</td>
			<%end%>
  		</tr>
		</table>
<% form_tag(url_for_optioins = {:action => :save_when_edit},options = {:id => "inside_position_form_edit"})  do%>
<div id="item_title">作業を選択:</div>
<%if session[:order_item].work_judge == "修正機set_修正から" || session[:order_item].work_judge == "修正から"%>
<%= radio_button_tag 'work', '修正',true%>修正
<%= radio_button_tag 'work', '取替'%>取替
<%else%>
<%= radio_button_tag 'work', '修正'%>修正
<%= radio_button_tag 'work', '取替',true%>取替
<%end%>
<div id="section_line"></div>
<div id="back_forward">
<a href="javascript:history.back(-1)"><img src="/images/btn_back_01.gif" class="back"></a>
<%= image_submit_tag("btn_next_01.gif")%>
</div>
<%end%>

<%= observe_form :inside_position_form_edit,
				 :frequency => 0.2,
				 :url => {:action => :check_position_edit }%>
